Matthias Clasen [Mon, 22 Feb 2021 00:42:45 +0000 (19:42 -0500)]
fontbutton: Convert docs
Change link syntax, add an example image, generally clean things up.
Matthias Clasen [Mon, 22 Feb 2021 00:42:17 +0000 (19:42 -0500)]
colorbutton: Convert docs
Change link syntax, add an example image, generally clean things up.
Matthias Clasen [Mon, 22 Feb 2021 00:41:58 +0000 (19:41 -0500)]
dropdown: Convert docs
Change link syntax, add an example image, generally clean things up.
Matthias Clasen [Mon, 22 Feb 2021 00:41:33 +0000 (19:41 -0500)]
appchooserbutton: Convert docs
Change link syntax, add an example image, generally clean things up.
Matthias Clasen [Sun, 21 Feb 2021 22:21:24 +0000 (17:21 -0500)]
lockbutton: Convert docs
Change link syntax, add an example image, generally clean things up.
Matthias Clasen [Sun, 21 Feb 2021 22:21:00 +0000 (17:21 -0500)]
comboboxtext: Convert docs
Change link syntax, add an example image, generally clean things up.
Matthias Clasen [Sun, 21 Feb 2021 22:20:23 +0000 (17:20 -0500)]
combobox: Convert docs
Change link syntax, add an example image, generally clean things up.
Emmanuele Bassi [Mon, 22 Feb 2021 00:12:17 +0000 (00:12 +0000)]
docs: Remove duplicate documentation stanzas
Emmanuele Bassi [Mon, 22 Feb 2021 00:11:52 +0000 (00:11 +0000)]
docs: Fix typos
Emmanuele Bassi [Mon, 22 Feb 2021 00:10:56 +0000 (00:10 +0000)]
docs: Fix value annotation
Drop the `:`.
Emmanuele Bassi [Mon, 22 Feb 2021 00:10:35 +0000 (00:10 +0000)]
docs: Fix copy-paste error in GdkDevice
Emmanuele Bassi [Mon, 22 Feb 2021 00:09:57 +0000 (00:09 +0000)]
docs: Fix the MenuButton direction property links
Matthias Clasen [Sun, 21 Feb 2021 18:51:04 +0000 (13:51 -0500)]
menubutton: Convert docs
Change link syntax, add an example image, generally clean things up.
Matthias Clasen [Sun, 21 Feb 2021 18:15:39 +0000 (13:15 -0500)]
checkbutton: Convert docs
Change link syntax, add an example image, generally clean things up.
Matthias Clasen [Sun, 21 Feb 2021 18:02:08 +0000 (13:02 -0500)]
docs: Split images for check and radio buttons
Its the same widget, but two images fit better in the gallery,
and will be easier to use as example images in the docs.
Matthias Clasen [Sun, 21 Feb 2021 17:53:26 +0000 (12:53 -0500)]
linkbutton: Convert docs
Change link syntax, add an example image, generally clean things up.
Matthias Clasen [Sun, 21 Feb 2021 17:44:28 +0000 (12:44 -0500)]
docs: Improve the togglebutton image
Make it actually show toggles.
Matthias Clasen [Sun, 21 Feb 2021 17:39:28 +0000 (12:39 -0500)]
wayland: Fix a link
gi-docgen currently can't handle links without namespace
in the Wayland docs.
Matthias Clasen [Sun, 21 Feb 2021 16:16:19 +0000 (11:16 -0500)]
togglebutton: Convert docs
Change link syntax, add an example image, generally clean things up.
Matthias Clasen [Sun, 21 Feb 2021 16:04:58 +0000 (11:04 -0500)]
button: Convert docs
Change link syntax, add an example image, generally clean things up.
Emmanuele Bassi [Sun, 21 Feb 2021 01:15:49 +0000 (01:15 +0000)]
docs: Fix the annotation for GtkTextView:justification
Emmanuele Bassi [Sun, 21 Feb 2021 01:08:52 +0000 (01:08 +0000)]
docs: Fix up the 3-to-4 migration guide
Matthias Clasen [Sun, 21 Feb 2021 15:39:26 +0000 (10:39 -0500)]
docs: Add backend links to the gdk docs
These are placeholders for when we know how to
link across namespaces.
Matthias Clasen [Sun, 21 Feb 2021 15:38:39 +0000 (10:38 -0500)]
docs: Add separate toml files for gdk backends
Reusing the same one duplicates the standalone
docs, which doesn't quite seem right.
Matthias Clasen [Sun, 21 Feb 2021 15:40:24 +0000 (10:40 -0500)]
docs: Brush up the Wayland backend docs
Add some content here.
Matthias Clasen [Sun, 21 Feb 2021 14:19:37 +0000 (09:19 -0500)]
gdk: Some more tweaks of the docs
Matthias Clasen [Sun, 21 Feb 2021 14:18:24 +0000 (09:18 -0500)]
docs: Add some links to the pango chapter
Matthias Clasen [Sun, 21 Feb 2021 05:13:57 +0000 (00:13 -0500)]
docs: Rework the gdk docs
Convert links, make things more concise.
Matthias Clasen [Sat, 20 Feb 2021 15:26:17 +0000 (10:26 -0500)]
docs: Move GdkEvent docs inline
This is not really worth a chapter of its own.
Matthias Clasen [Sat, 20 Feb 2021 06:09:55 +0000 (01:09 -0500)]
docs: Improve gsk docs
Convert link formats, add summaries, and make
a few missing things show up in the docs.
Matthias Clasen [Sat, 20 Feb 2021 05:21:42 +0000 (00:21 -0500)]
docs: Tweak X11 section
Remove unsupported heading anchors.
Matthias Clasen [Sat, 20 Feb 2021 05:21:21 +0000 (00:21 -0500)]
docs: Tweaks Windows section
Remove unsupported heading anchors.
Matthias Clasen [Sat, 20 Feb 2021 05:20:46 +0000 (00:20 -0500)]
docs: Tweak Wayland section
Remove unsupported heading anchors.
Matthias Clasen [Sat, 20 Feb 2021 05:20:23 +0000 (00:20 -0500)]
docs: Tweak a11y section
Convert link syntax.
Matthias Clasen [Sat, 20 Feb 2021 05:19:51 +0000 (00:19 -0500)]
docs: Tweak running chapter
Remove unsupported heading anchors, fix definition
list use.
Matthias Clasen [Sat, 20 Feb 2021 05:19:23 +0000 (00:19 -0500)]
docs: Tweak input overview
Remove unsupported heading anchors.
Matthias Clasen [Sat, 20 Feb 2021 05:18:49 +0000 (00:18 -0500)]
docs: Tweak drawing model overview
Fix link syntax, remove gtk-doc markup.
Matthias Clasen [Sat, 20 Feb 2021 05:18:21 +0000 (00:18 -0500)]
docs: Tweak css properties section
Fix the use of definition lists.
Matthias Clasen [Sat, 20 Feb 2021 05:17:20 +0000 (00:17 -0500)]
docs: Tweak the actions overview
Fix use of definition lists, and remove some gtk-doc
markup.
Matthias Clasen [Sat, 20 Feb 2021 04:33:51 +0000 (23:33 -0500)]
building: Minor tweaks
Remove unsupported anchors from headings.
Matthias Clasen [Sat, 20 Feb 2021 04:33:24 +0000 (23:33 -0500)]
video: Convert docs
Change link syntax, add an example image, generally clean things up.
Matthias Clasen [Sat, 20 Feb 2021 04:33:00 +0000 (23:33 -0500)]
glarea: Convert docs
Change link syntax, add an example image, generally clean things up.
Matthias Clasen [Sat, 20 Feb 2021 04:32:39 +0000 (23:32 -0500)]
drawingarea: Convert docs
Change link syntax, add an example image, generally clean things up.
Matthias Clasen [Sat, 20 Feb 2021 04:32:14 +0000 (23:32 -0500)]
textview: Convert docs
Change link syntax, add an example image, generally clean things up.
Matthias Clasen [Sat, 20 Feb 2021 04:31:50 +0000 (23:31 -0500)]
picture: Convert docs
Change link syntax, add an example image, generally clean things up.
Matthias Clasen [Sat, 20 Feb 2021 04:31:23 +0000 (23:31 -0500)]
scale: Convert docs
Change link syntax, add an example image, generally clean things up.
Matthias Clasen [Sat, 20 Feb 2021 04:30:59 +0000 (23:30 -0500)]
image: Convert docs
Change link syntax, add an example image, generally clean things up.
Matthias Clasen [Sat, 20 Feb 2021 04:30:50 +0000 (23:30 -0500)]
separator: Convert docs
Change link syntax and add an example image.
Matthias Clasen [Sat, 20 Feb 2021 04:30:06 +0000 (23:30 -0500)]
calendar: Convert docs
Change link syntax, add an example image, generally clean things up.
Matthias Clasen [Sat, 20 Feb 2021 00:51:52 +0000 (19:51 -0500)]
scrollbar: Convert docs
Change link syntax, add an example image, generally clean things up.
Matthias Clasen [Fri, 19 Feb 2021 21:01:07 +0000 (16:01 -0500)]
infobar: Convert docs
Change link syntax, add an example image, generally clean things up.
Emmanuele Bassi [Fri, 19 Feb 2021 22:09:34 +0000 (22:09 +0000)]
docs: Generate the DevHelp file for our namespaces
Emmanuele Bassi [Fri, 19 Feb 2021 22:07:48 +0000 (22:07 +0000)]
docs: Update the "Getting Started" page
Drop the Pandoc stuff, add the gi-docgen links, and remove a stray
docbook element.
Matthias Clasen [Fri, 19 Feb 2021 21:02:40 +0000 (16:02 -0500)]
statusbar: Convert docs
Change link syntax, add an example image, generally clean things up.
Matthias Clasen [Fri, 19 Feb 2021 21:01:07 +0000 (16:01 -0500)]
infobar: Convert docs
Change link syntax, add an example image, generally clean things up.
Matthias Clasen [Fri, 19 Feb 2021 20:43:33 +0000 (15:43 -0500)]
progressbar: Convert docs
Change link syntax, add an example image, generally clean
things up.
Matthias Clasen [Fri, 19 Feb 2021 20:28:51 +0000 (15:28 -0500)]
levelbar: Convert docs
Change link syntax, add an example image, generally
clean things up.
Matthias Clasen [Fri, 19 Feb 2021 20:06:16 +0000 (15:06 -0500)]
spinner: Convert docs
Change link syntax and add an example image.
Matthias Clasen [Fri, 19 Feb 2021 19:50:49 +0000 (14:50 -0500)]
aboutdialog: tweak the docs
Add a short summary.
Matthias Clasen [Fri, 19 Feb 2021 19:47:44 +0000 (14:47 -0500)]
label: Convert docs
Change link syntax, add singl-line summaries,
add missing property docs.
Matthias Clasen [Fri, 19 Feb 2021 18:03:20 +0000 (13:03 -0500)]
docs: Bring the widget gallery back
We have all the images, lets put them to use.
Emmanuele Bassi [Thu, 18 Feb 2021 18:28:48 +0000 (18:28 +0000)]
docs: Remove the last few remaining '+' from GTK
Emmanuele Bassi [Thu, 18 Feb 2021 18:17:56 +0000 (18:17 +0000)]
docs: Clean up the first paragraph for various symbols
The documentation engine will use the first paragraph as the summary for
a type or constant.
Emmanuele Bassi [Thu, 18 Feb 2021 17:30:03 +0000 (17:30 +0000)]
docs: Show summary in the namespace index
Emmanuele Bassi [Thu, 18 Feb 2021 17:02:51 +0000 (17:02 +0000)]
docs: Start porting GtkImage to the new style
Emmanuele Bassi [Thu, 18 Feb 2021 13:38:55 +0000 (13:38 +0000)]
docs: Port GtkAboutDialog to the new syntax
We should also clean up the annotations, while we're at it.
Emmanuele Bassi [Thu, 18 Feb 2021 13:38:29 +0000 (13:38 +0000)]
build: Quiet down gi-docgen
We are only interested in the warnings and errors.
Emmanuele Bassi [Wed, 17 Feb 2021 17:52:20 +0000 (17:52 +0000)]
docs: Fix up the style of the X11 content file
Emmanuele Bassi [Wed, 17 Feb 2021 17:41:56 +0000 (17:41 +0000)]
docs: Move detached sections into their own content file
Emmanuele Bassi [Wed, 17 Feb 2021 14:22:54 +0000 (14:22 +0000)]
docs: Split GdkDrag and GdkDrop sections
This way we have a section for each class.
Emmanuele Bassi [Wed, 17 Feb 2021 14:22:19 +0000 (14:22 +0000)]
docs: Rename GdkTexture section
The name needs to match the class.
Emmanuele Bassi [Wed, 17 Feb 2021 14:21:46 +0000 (14:21 +0000)]
docs: Move gdkcairo section to an external file
Emmanuele Bassi [Sun, 14 Feb 2021 19:36:15 +0000 (19:36 +0000)]
docs: Move the gtkmain section to its own document
The introspection data does not handle unattached sections like gtk-doc
does, so we need to move what was gtkmain into its own Markdown
document.
Emmanuele Bassi [Sun, 14 Feb 2021 19:00:12 +0000 (19:00 +0000)]
docs: Use new link syntax
Emmanuele Bassi [Sun, 14 Feb 2021 18:00:26 +0000 (18:00 +0000)]
docs: Begin porting GtkWidget to the new format
Emmanuele Bassi [Sun, 14 Feb 2021 18:00:00 +0000 (18:00 +0000)]
doc: Port GtkConstraint to the new format
Emmanuele Bassi [Sun, 14 Feb 2021 17:59:05 +0000 (17:59 +0000)]
docs: De-indent GtkRecentInfo.get_applications() return value
Otherwise the four spaces will be treated as a pre-formatted block by
Markdown.
Emmanuele Bassi [Fri, 12 Feb 2021 00:19:41 +0000 (00:19 +0000)]
docs: Start porting GtkConstraintLayout to the new doc format
Drop the old gtk-doc'isms, and use the gi-docgen links instead.
Emmanuele Bassi [Wed, 10 Feb 2021 14:03:56 +0000 (14:03 +0000)]
docs: Add metadata preamble to GTK's content files
Emmanuele Bassi [Thu, 18 Feb 2021 12:59:09 +0000 (12:59 +0000)]
docs: Drop gtk-doc files
We don't use gtk-doc to generate our API reference, so we don't need its
files lying around any more.
Emmanuele Bassi [Wed, 10 Feb 2021 13:41:53 +0000 (13:41 +0000)]
Generate GTK API reference(s) with gi-docgen
Stop using gtk-doc, and switch to gi-docgen.
The gi-docgen tool generates API references through the introspection
data, which has various benefits:
- it does not parse C code
- it does not generate and run C code to introspect types at build time
- it does not present a different API from the one we're exporting
Additionally, gi-docgen:
- does not generate DocBook XML in order to generate HTML
- does not go through xsltproc
- parses proper Markdown
Which makes it markedly faster than gtk-doc has ever been.
Emmanuele Bassi [Wed, 10 Feb 2021 13:38:51 +0000 (13:38 +0000)]
Add gi-docgen as a subproject
While we're developing gi-docgen it's better to have it as part of our
build.
Emmanuele Bassi [Mon, 15 Feb 2021 18:02:53 +0000 (18:02 +0000)]
ci: Update the fedora-docs Docker image
Use the latest base image.
Emmanuele Bassi [Mon, 15 Feb 2021 16:43:10 +0000 (16:43 +0000)]
ci: Update the CI image for docs building
We don't use Pandoc any more, but we need a bunch of Python modules for
gi-docgen.
Emmanuele Bassi [Mon, 15 Feb 2021 00:56:35 +0000 (00:56 +0000)]
ci: Update the reference job
Emmanuele Bassi [Mon, 15 Feb 2021 16:42:07 +0000 (16:42 +0000)]
Rename base version argument in run-docker.sh
The `--base-version` argument trips up everyone. Might as well rename it
to `--version`.
Matthias Clasen [Thu, 11 Mar 2021 14:25:53 +0000 (14:25 +0000)]
Merge branch 'fix-menubutton-tooltips' into 'master'
Limit tooltip queries to the same native
Closes #3719
See merge request GNOME/gtk!3283
Matthias Clasen [Thu, 11 Mar 2021 13:56:05 +0000 (08:56 -0500)]
Limit tooltip queries to the same native
Without this, the menubuttons tooltip pops up
when hovering the popover, which is suprising
and unintended.
Fixes: #3719
Matthias Clasen [Thu, 11 Mar 2021 01:09:39 +0000 (01:09 +0000)]
Merge branch 'gdk-win32-use-window-from-point-for-master' into 'master'
GdkWin32: Fix mouse events in presence of transparent windows on the desktop
Closes #370, #417, and gimp#1082
See merge request GNOME/gtk!2800
Matthias Clasen [Tue, 9 Mar 2021 23:59:05 +0000 (23:59 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
inspector: Fix surface transform regression
See merge request GNOME/gtk!3280
Matthias Clasen [Tue, 9 Mar 2021 22:42:59 +0000 (17:42 -0500)]
inspector: Fix surface transform regression
Ever since we added surface-to-widget transforms,
the autofading of the fps overlay did not work anymore,
since it was given the transient transform node, most
of the time.
Fix this by passing both the root of the node tree and
the node for the toplevel widget to prepare_render, and
hande the widget node to the overlays. Update the
affected overlays that need to have their positioning
adjusted.
Мирослав Николић [Tue, 9 Mar 2021 21:23:01 +0000 (21:23 +0000)]
Update Serbian translation
(cherry picked from commit
f33a2febc7df6ec9c7721361f94121c2db079057)
Benjamin Otte [Tue, 9 Mar 2021 19:11:09 +0000 (19:11 +0000)]
Merge branch 'wip/otte/for-master' into 'master'
Wip/otte/for master
See merge request GNOME/gtk!3279
Benjamin Otte [Tue, 9 Mar 2021 18:52:59 +0000 (19:52 +0100)]
wayland: Fix memleaks when rendering with Cairo
We were leaking buffers. This wasn't caught by valgrind and friends
because it was shared memory (with the compositor), but top(1) would
instantly see memory consumption of the app and the shell go through the
roof.
Benjamin Otte [Tue, 9 Mar 2021 18:50:56 +0000 (19:50 +0100)]
wayland: Don't call _gdk_surface_update_size() all the time
We were calling _gdk_surface_update_size() every frame, even if the
window size didn't change. This would cause us to discard all cached
buffers and redraw the whole screen.
This was BAD.
Matthias Clasen [Tue, 9 Mar 2021 17:56:57 +0000 (17:56 +0000)]
Merge branch 'ngl-rect-borders' into 'master'
Speed up border rendering
See merge request GNOME/gtk!3278
Matthias Clasen [Tue, 9 Mar 2021 05:43:47 +0000 (00:43 -0500)]
nodeparser: Print debug message before child
This puts the message up top, where it can be seen,
and not at the other end of an endless tree of children.
Update tests to match.
Matthias Clasen [Tue, 9 Mar 2021 02:37:28 +0000 (21:37 -0500)]
ngl: Render simple borders simply
Use 4 color commands for uniform, rectilinear
borders. Most of our borders are rounded with
Adwaita, but there are still some of these.
Matthias Clasen [Tue, 9 Mar 2021 02:36:41 +0000 (21:36 -0500)]
gsk: Add gsk_border_node_get_uniform_color
Maintain this bit of information separately,
it will be useful in the next commit.
Benjamin Otte [Sat, 6 Mar 2021 19:44:38 +0000 (20:44 +0100)]
vulkan: Improve rounded rect clipping
Handle the case where the inner rounded rect is fully contained
within the outer rounded rect.